<!--
* @author wn
* @date 2022/06/28 15:27:21
* @description: 支付成功页面
!-->
<template>
	<div class="success">{{ message }}</div>
</template>
<script>
import { ref } from 'vue'
import { useRoute } from 'vue-router'
export default {
	name: 'Success',
	setup() {
		const message = ref('')
		const route = useRoute()
		message.value = route.query.message
		return { message }
	},
}
</script>
<style scoped lang="less">
.success {
	background-color: #fff;
	border-radius: 5px;
	margin: 12px;
	line-height: 180px;
	font-weight: 700;
	font-size: 20px;
	text-align: center;
}
</style>
